package com.njtoyo.taxi.admin.mapper.secondary.entity.data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Dell
 * @since 2022-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "DashboardDriverServiceDaily对象", description = "")
public class DashboardDriverServiceDaily implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "地区id")
    private Long cantonId;

    @ApiModelProperty(value = "公司id")
    private Long companyId;

    @ApiModelProperty(value = "统计日期,精确到每天")
    private Date statsDate;

    @ApiModelProperty(value = "出车车辆总数-去重")
    private Long taxiServiceTotal;

    @ApiModelProperty(value = "未报废的车辆总数")
    private Long taxiTotal;

    @ApiModelProperty(value = "出车率")
    @TableField(exist = false)
    private BigDecimal rate;

    private Date createdAt;

    private Date updatedAt;

}
